FROM golang:latest

WORKDIR /usr/bin/gin_blog
COPY . /usr/bin/gin_blog
RUN go build .

EXPOSE 8000
ENTRYPOINT ["gin_blog"]